﻿using log4net;
using Quartz;
using Spider.Service;

namespace Spider.task
{
    /// <summary>
    /// 交易所问答爬虫
    /// </summary>
    [DisallowConcurrentExecution]
    public class QAnswerTask:IJob
    {
        
        private static readonly ILog Log = LogManager.GetLogger(typeof(QAnswerTask));
        public void Execute(IJobExecutionContext context)
        {
            Log.Info("begin question answer spider task");
            CrawlerService.CrawlingQa();
            Log.Info("finish question answer spider task");
        }
    }
}